# -*- coding: utf-8 -*-
"""
Created on Thu Sep 26 16:44:32 2024

@author: xiaok
"""

import mne

#%%

filePathRoot = 'D:\\m_proj_24\\mii_app\\data\\'
# name = '07251837'
# name = '07261837'
# name = '07261845'

# name = '07261954'
name = '09261638'


filePathName = filePathRoot+name+"\\"+name+"_.bdf"

raw = mne.io.read_raw_bdf(filePathName,preload=True) # preload should be True, if you want to use filter like below 
nchannels, nsamples = raw.get_data().shape      